package com.woniuxy.project115.kaer.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单评价表
 * </p>
 *
 * @author lyc
 * @since 2025年02月17日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("evaluation")
public class Evaluation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 评价id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 评价人id
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 评价人姓名
     */
    @TableField("user_name")
    private String userName;

    /**
     * 评分
     */
    @TableField("score")
    private Integer score;

    /**
     * 订单id
     */
    @TableField("order_num")
    private String orderNum;

    /**
     * 内容
     */
    @TableField("content")
    private String content;


}
